package com.cuit.riskassessment.vo;

import java.io.Serializable;

import com.cuit.riskassessment.util.ArrayAndString;

public class RaVo implements Serializable{
	private static final long serialVersionUID = 1L;
	/**
	 * 关联项目id
	 */
	private Integer projid;
	/**
	 * 建筑物类型:
	 * 	  1:规则建筑物
	 * 	  0：不规则建筑物
	 */
	private int btype;
	/**
	 * 建筑物长度
	 */
	private double len; 
	/**
	 * 建筑物宽度
	 */
	private double wth;
	/**
	 * 建筑物高度
	 */
	private double ht;
	/**
	 * 建筑物面积
	 */
	private double area;
	/**
	 * 位置因子
	 */
	private double cd;
	/**
	 * 人畜伤害概率
	 */
	private double pa[];
	private String pastr;
	/**
	 * nt np tp：
	 * 	1：确定
	 *  0：不确定
	 */
	private int lttype;
	private int nt;
	private int np;
	private int tp;
	/**
	 * lt 的典型值
	 */
	private double lt;
	/**
	 * 不同土壤类型的缩减因子
	 */
	private double ra;

	/**
	 * ra最终结果
	 */
	private double res;
	/**
	 * 计算出来的nd值
	 */
	private double nd;
	public Integer getProjid() {
		return projid;
	}
	public void setProjid(Integer projid) {
		this.projid = projid;
	}
	public int getBtype() {
		return btype;
	}
	public void setBtype(int btype) {
		this.btype = btype;
	}
	public double getLen() {
		return len;
	}
	public void setLen(double len) {
		this.len = len;
	}
	public double getWth() {
		return wth;
	}
	public void setWth(double wth) {
		this.wth = wth;
	}
	public double getHt() {
		return ht;
	}
	public void setHt(double ht) {
		this.ht = ht;
	}
	public double getArea() {
		return area;
	}
	public void setArea(double area) {
		this.area = area;
	}
	public double getCd() {
		return cd;
	}
	public void setCd(double cd) {
		this.cd = cd;
	}
	
	public double[] getPa() {
		return ArrayAndString.StringToArray(this.pastr);
	}
	public void setPa(double[] pa) {
		this.pa = pa;
	}
	public int getLttype() {
		return lttype;
	}
	public void setLttype(int lttype) {
		this.lttype = lttype;
	}
	public int getNt() {
		return nt;
	}
	public void setNt(int nt) {
		this.nt = nt;
	}
	public int getNp() {
		return np;
	}
	public String getPastr() 
	{
		return ArrayAndString.ArrayToString(this.pa);
	}
	public void setPastr(String pastr) {
		this.pastr = pastr;
	}
	public void setNp(int np) {
		this.np = np;
	}
	public int getTp() {
		return tp;
	}
	public void setTp(int tp) {
		this.tp = tp;
	}
	public double getLt() {
		return lt;
	}
	public void setLt(double lt) {
		this.lt = lt;
	}
	public double getRa() {
		return ra;
	}
	public void setRa(double ra) {
		this.ra = ra;
	}
	public double getRes() {
		return res;
	}
	public void setRes(double res) {
		this.res = res;
	}
	public double getNd() {
		return nd;
	}
	public void setNd(double nd) {
		this.nd = nd;
	}
	
}
